<?php

if (!defined("HDPHP_PATH"))
        exit('No direct script access allowed');
//更多配置请查看hdphp/Config/config.php
return array(
    /*     * ******************************数据库******************************* */
    'DB_DRIVER' => 'mysqli', //数据库驱动
    'DB_CHARSET' => 'utf8', //数据库字符集
    'DB_HOST' => 'localhost', //数据库连接主机  如127.0.0.1
    'DB_PORT' => 3306, //数据库连接端口
    'DB_USER' => 'root', //数据库用户名
    'DB_PASSWORD' => '', //数据库密码
    'DB_DATABASE' => 'shop', //数据库名称
    'DB_PREFIX' => 'jd_', //表前缀
    'DB_BACKUP' => 'Backup/', //数据库备份目录
    'URL_REWRITE' => TRUE, //url重写模式
    'route' => array(
        '/^index$/' => 'Index/Index/index',
        '/^t_(\d+)$/' => 'Index/List/Index/tid/#1',
        '/^c_(\d+)$/' => 'Index/List/Index/cid/#1',
        '/^g_(\d+)$/' => 'Index/Content/Index/gid/#1',
    ),
    'HTML_SUFFIX' => '.html'
);
?>